//
//  CellModel.m
//  两种Cell间的切换
//
//  Created by 小果 on 16/7/13.
//  Copyright © 2016年 小果. All rights reserved.
//

#import "CellModel.h"
#import "TableCellFrame.h"
@implementation CellModel
-(instancetype)initWithDict:(NSDictionary *)dict{
    if (self = [super init]){
       
        [self setValuesForKeysWithDictionary:dict];
    }
    return self;
}

+(instancetype)cellModelWithDict:(NSDictionary *)dict{
    return [[self alloc] initWithDict:dict];
}


-(NSString *)description{
    return [NSString stringWithFormat:@"name====%@    detail===%@",self.name,self.detail];
}
@end
